package com.example.demo.mapper;

import com.example.demo.model.Userinfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
//@Mapper
public interface UserMapperXML {
    List<Userinfo> queryUserInfos1();
//    List<Userinfo> queryUserInfos2();

    Integer insertUserInfo(Userinfo userinfo);
    Integer updateUserInfo(Userinfo userinfo);
    Integer deleteUser(Integer id);
    Integer insertByCondition(Userinfo userinfo);
   List<Userinfo> selectByCondition2(Userinfo userinfo);
    Integer updateByCondition(Userinfo userinfo);
    Integer batchDelete(List<Integer> ids);
}
